getLogList();

function getLogList() {
    $.ajax({
        url: "/getLoglist",
        type: "post",
        data: {'operation': '登录'},
        success: function (data) {
            if(data != null) {
                var html = '';
                $.each(data,function(i){
                    html += '<p><strong>';
                    html += '<span>' + this.gmtCreate ;
                    html += '</span>' +this.username;
                    html += '</trong>' +this.operation + '</p>';
                });
                $("#logList").html(html);
            }
        }
    });
}

//load3();

function load3() {
    $.ajax({
        url: "/server/getData",
        type: "post",
        success: function (data) {
            console.log(data)
        }
    });
}